const { defineConfig } = require("@vue/cli-service");

const packageName = require("./package.json").name;
const { QiankunPlugin } = require("@qiankunjs/webpack-plugin");
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: "warning",
  devServer: {
    port: "<%= port %>",
    headers: {
      "Access-Control-Allow-Origin": "*",
    },
    client: {
      overlay: false
    }
  },
  configureWebpack: {
    plugins:[
       new QiankunPlugin()
    ]
  },
});
